package demo2;

public class Fish extends Aminal implements Swimming{

    public Fish(String name, int age) {
        super(name, age);
    }

    @Override
    public void swim() {
        System.out.println(this.name + " 在游泳");
    }
}
